package com.itheima.domain.cargo;

import java.io.Serializable;
import java.util.Date;

public class ContractProductVo implements Serializable {

        private String customName;		//客户名称
        private String contractNo;		//合同号，订单号
        private String productNo;		//货号
        private Integer cnumber;		//数量
        private String factoryName;		//厂家名称，冗余字段
        private Date deliveryPeriod;	//交货期限
        private Date shipTime;			//船期
        private String tradeTerms;		//贸易条款

        public String getCustomName() {
            return customName;
        }

        public void setCustomName(String customName) {
            this.customName = customName;
        }

        public String getContractNo() {
            return contractNo;
        }

        public void setContractNo(String contractNo) {
            this.contractNo = contractNo;
        }

        public String getProductNo() {
            return productNo;
        }

        public void setProductNo(String productNo) {
            this.productNo = productNo;
        }

        public Integer getCnumber() {
            return cnumber;
        }

        public void setCnumber(Integer cnumber) {
            this.cnumber = cnumber;
        }

        public String getFactoryName() {
            return factoryName;
        }

        public void setFactoryName(String factoryName) {
            this.factoryName = factoryName;
        }

        public Date getDeliveryPeriod() {
            return deliveryPeriod;
        }

        public void setDeliveryPeriod(Date deliveryPeriod) {
            this.deliveryPeriod = deliveryPeriod;
        }

        public Date getShipTime() {
            return shipTime;
        }

        public void setShipTime(Date shipTime) {
            this.shipTime = shipTime;
        }

        public String getTradeTerms() {
            return tradeTerms;
        }

        public void setTradeTerms(String tradeTerms) {
            this.tradeTerms = tradeTerms;
        }

    @Override
    public String toString() {
        return "ContractProductVo{" +
                "customName='" + customName + '\'' +
                ", contractNo='" + contractNo + '\'' +
                ", productNo='" + productNo + '\'' +
                ", cnumber=" + cnumber +
                ", factoryName='" + factoryName + '\'' +
                ", deliveryPeriod=" + deliveryPeriod +
                ", shipTime=" + shipTime +
                ", tradeTerms='" + tradeTerms + '\'' +
                '}';
    }
}
